package com.icas.entity.resultentity;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: tocchen
 * @Date: 2022/4/19 12:39
 * @Description
 **/
@Data
@NoArgsConstructor
public class AttendCountEntity {

    /** 全勤 */
    private Integer attendances;
    /** 缺旷 */
    private Integer leave;
    /** 请假 */
    private Integer full_time;
    /** 早退 */
    private Integer ask;
    /** 迟到 */
    private Integer late;
    /** 迟到又早退 */
    private Integer late_leave;



    public static AttendCountEntity initInstance(){
        return new AttendCountEntity(0,0,0,0,0,0);
    }

    public AttendCountEntity(Integer attendances, Integer leave, Integer full_time, Integer ask, Integer late, Integer late_leave) {
        this.attendances = attendances;
        this.leave = leave;
        this.full_time = full_time;
        this.ask = ask;
        this.late = late;
        this.late_leave = late_leave;
    }
}
